﻿package
{
	import flash.display.MovieClip;
	
	public class CGameState
	{
		public static const GAME_STATE_TITLE	:uint = 1;
		public static const GAME_STATE_EXPLAIN	:uint = 2;
		public static const GAME_STATE_PLAY		:uint = 3;
		public static const GAME_STATE_RESULT	:uint = 4;
		public static const GAME_STATE_ENDING	:uint = 5;
		public static const GAME_STATE_RANKING	:uint = 6;
		
		protected var m_refGame :CGame;
		private var m_cMovieClip :MovieClip;
		
		public function get cMovieClip() :MovieClip { return m_cMovieClip; }
		public function set cMovieClip(refMovieClip :MovieClip) :void { m_cMovieClip = refMovieClip; }
		
		public function CGameState(refGame :CGame)
		{
			m_refGame = refGame;
		}
		public function EnterState() :void {}
		public function LeaveState() :void {}
		public function Run(tick :Number) :void {}
	}
	
}